<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" errorPage="/error.jsp"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%
    String ctx = request.getContextPath();
    pageContext.setAttribute("ctx", "/".equals(ctx) ? "" : ctx);
    pageContext.setAttribute("dataSource", "jdbc/default");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <base target="_self" />
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <title>${PAGETITLE}</title>
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        
        <link rel="stylesheet" type="text/css" href="${ctx}/css/common.css" />
        <link rel="stylesheet" type="text/css" href="${ctx}/css/jstree.css" />
        
        <script type="text/javascript" src="${ctx}/js/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="${ctx}/js/fyftree.js"></script>
        <script type="text/javascript" src="${ctx}/js/common.js"></script>
        <script type="text/javascript">
		<!--
		var ctx = "${ctx}";
		//-->
		</script>
    </head>
